﻿Public Class PhongCrt
#Region "Attributes"
    Private _MaPhong As Integer
    Private _TenPhong As String
    Private _LoaiPhong As Integer
    Private _checkTenPhong As Boolean
    Private _checkLoaiPhong As Boolean
    
#End Region

#Region "Properties"
    Public Property MaPhong() As Integer
        Get
            Return _MaPhong
        End Get
        Set(ByVal value As Integer)
            _MaPhong = value
        End Set
    End Property
    Public Property TenPhong() As String
        Get
            Return _TenPhong
        End Get
        Set(ByVal value As String)
            _TenPhong = value
        End Set
    End Property

    Public Property LoaiPhong() As Integer
        Get
            Return _LoaiPhong
        End Get
        Set(ByVal value As Integer)
            _LoaiPhong = value
        End Set
    End Property
    Public Property CheckTenPhong() As Boolean
        Get
            Return _checkTenPhong
        End Get
        Set(ByVal value As Boolean)
            _checkTenPhong = value
        End Set
    End Property
    Public Property CheckLoaiPhong() As Boolean
        Get
            Return _checkLoaiPhong
        End Get
        Set(ByVal value As Boolean)
            _checkLoaiPhong = value
        End Set
    End Property
    

#End Region

#Region "Constructors"
    Public Sub New()
        _MaPhong = 0
        _TenPhong = ""
        _LoaiPhong = 0
        CheckTenPhong = False
        CheckLoaiPhong = False
    End Sub
#End Region
        

    

End Class
